package com.bigbirdmed.cloud.common.core.dto.output;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Description:
 * @Author: Changdao
 * @Date: 2021/10/16 11:15
 */
public class SysDictDataVO {

	@Data
	@Accessors(chain = true)
	@ApiModel(value = "GetDictDataVO", description = "获取字典id")
	public static class GetDictDataVO implements Serializable {

		private static final long serialVersionUID = -311482031534393214L;
		@ApiModelProperty(value = "id")
		private String id;
		@ApiModelProperty(value = "字典类型")
		private String dictType;
		@ApiModelProperty(value = "字典key")
		private String dictKey;
		@ApiModelProperty(value = "字典key对应的显示内容")
		private String dictLabel;
		@ApiModelProperty(value = "字典value")
		private String dictValue;
		@ApiModelProperty(value = "排序")
		private Integer seqNo;
		@ApiModelProperty(value = "是否追加文本框 YesOrNoEnum")
		private Integer isAppendText;
		@ApiModelProperty(value = "是否可以编辑 YesOrNoEnum")
		private Integer canEdit;
	}

	@Data
	@Accessors(chain = true)
	@ApiModel(value = "CommonDictJsonVO", description = "通用json字段")
	public static class CommonDictJsonVO implements Serializable {
		private static final long serialVersionUID = -311482031534393214L;

		@ApiModelProperty(value = "id")
		private String id;
		@ApiModelProperty(value = "字典key")
		private String dictKey;
		@ApiModelProperty(value = "字典value")
		private String dictValue;
		@ApiModelProperty(value = "选项后追加的文本框内容")
		private String other;

	}
}
